<?php

namespace app\common\dict\site;

class SiteAppTypeDict
{

    const SUPER_ADMIN = 'admin';

    const SITE = 'site';


    public static function getList()
    {
        return [
            self::SUPER_ADMIN => '平台',
            self::SITE => '站点',
        ];
    }


    public static function getName($key)
    {
        $list = self::getList();
        return $list[$key] ?? '';
    }



}